package com.bynk.bynk_demo.dto;

public class BookDto {

    private String bookId;
    private String bookName;

    private String bookAuthor;

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getBookAuthor() {
        return bookAuthor;
    }

    public void setBookAuthor(String bookAuthor) {
        this.bookAuthor = bookAuthor;
    }

    public BookDto() {
    }

    public BookDto(String bookId, String bookName, String bookAuthor) {
        this.bookId = bookId;
        this.bookName = bookName;
        this.bookAuthor = bookAuthor;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("BookDto{");
        sb.append("bookId='").append(bookId).append('\'');
        sb.append(", bookName='").append(bookName).append('\'');
        sb.append(", bookAuthor='").append(bookAuthor).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
